layui.use(['jquery','layer','table','form'],function() {
    var $ = layui.jquery;
    var layer = layui.layer;
    var table = layui.table;
    var form = layui.form;
    var updateDate = JSON.parse(localStorage.getItem("updateDate"));
    $("#productCode").val(updateDate.productCode);
    $("#productName").val(updateDate.productName);
    $("#currentpriceProduct").val(updateDate.currentpriceProduct);
    $("#productSate").val(updateDate.productSate);
    $("#productLabel").val(updateDate.productLabel);
    $("#productDescription").val(updateDate.productDescription);
    form.render();
})